package values.events
{
import flash.events.Event;

import values.quest.QuestValue;

/**
 * QuestValueEvent
 * @author jliang
 * 
 */
public class QuestValueEvent extends Event
{
	//==========================================================================
	//  Class constants
	//==========================================================================
	public static const APPEAR:String = "appear";
	public static const ACCEPT:String = "accept";
	public static const VIEW_DETAIL:String = "viewDetail";
	public static const PROGRESS:String = "progress";
	public static const COMPLETE:String = "complete";
	//==========================================================================
	//  Constructor
	//==========================================================================
	public function QuestValueEvent(type:String, questValue:QuestValue)
	{
		super(type);
		_questValue = questValue;
	}
	//==========================================================================
	//  Properties
	//==========================================================================
	private var _questValue:QuestValue;
	
	public function get questValue():QuestValue
	{
		return _questValue;
	}
}
}